//
//  StatusCell.swift
//  Three-SinaWeibo
//
//  Created by 李旭阳 on 15/11/17.
//  Copyright © 2015年 apple. All rights reserved.
//

import UIKit
import SnapKit

class StatusCell: UITableViewCell {
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        setupUI()
    }
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func setupUI(){
        contentView.addSubview(yUserHeaderView)
        
        //设置约束
        yUserHeaderView.snp_makeConstraints { (make) -> Void in
            make.top.equalTo(contentView.snp_top)
            make.left.equalTo(contentView.snp_left)
            make.right.equalTo(contentView.snp_right)
            make.height.equalTo(50)
        }
        
    }
    
    //MARK: 懒加载
    private lazy var yUserHeaderView: YuserHeaderView = YuserHeaderView()
    
}
